package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.CommentAndUser;
import java.util.List;

public interface CommentAndUserMapper {
    int deleteByPrimaryKey(Long content_id);

    int insert(CommentAndUser record);

    CommentAndUser selectByPrimaryKey(Long content_id);

    List<CommentAndUser> selectAll();

    int updateByPrimaryKey(CommentAndUser record);

    Integer selectUnRead(Long id);

    void changeState(Long travelId);
}